package com.ruoyi.web.publish.issue.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 发行历史对象 issue_history
 *
 * @author ruoyi
 * @date 2021-08-24
 */
public class IssueHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 发行状态 */
    @Excel(name = "发行状态")
    private Integer issueType;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Integer verifyType;

    /** 资金用途 */
    @Excel(name = "资金用途")
    private String issueUse;

    /** 发行数量 */
    @Excel(name = "发行数量")
    private Integer issueNumber;

    /** 分红承诺 */
    @Excel(name = "分红承诺")
    private String issueBonus;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /**
     * 创建者ID
     */
    @Excel(name = "创建者ID")
    private Long createById;

    /**
     * 更新者ID
     */
    @Excel(name = "更新者ID")
    private Long updateById;

    /**
     * 发行人
     */
    @Excel(name = "发行人")
    private String issuer;

    /**
     * 举报
     */
    private String report;

    /**
     * 举报时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date reportTime;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }
    public void setIssueType(Integer issueType)
    {
        this.issueType = issueType;
    }

    public Integer getIssueType()
    {
        return issueType;
    }
    public void setVerifyType(Integer verifyType)
    {
        this.verifyType = verifyType;
    }

    public Integer getVerifyType()
    {
        return verifyType;
    }
    public void setIssueUse(String issueUse)
    {
        this.issueUse = issueUse;
    }

    public String getIssueUse()
    {
        return issueUse;
    }
    public void setIssueNumber(Integer issueNumber)
    {
        this.issueNumber = issueNumber;
    }

    public Integer getIssueNumber()
    {
        return issueNumber;
    }
    public void setIssueBonus(String issueBonus)
    {
        this.issueBonus = issueBonus;
    }

    public String getIssueBonus()
    {
        return issueBonus;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setCreateById(Long createById)
    {
        this.createById = createById;
    }

    public Long getCreateById() {
        return createById;
    }

    public void setUpdateById(Long updateById) {
        this.updateById = updateById;
    }

    public Long getUpdateById() {
        return updateById;
    }

    public String getIssuer() {
        return issuer;
    }

    public void setIssuer(String issuer) {
        this.issuer = issuer;
    }

    public String getReport() {
        return report;
    }

    public void setReport(String report) {
        this.report = report;
    }

    public Date getReportTime() {
        return reportTime;
    }

    public void setReportTime(Date reportTime) {
        this.reportTime = reportTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("issueType", getIssueType())
                .append("verifyType", getVerifyType())
                .append("issueUse", getIssueUse())
                .append("issueNumber", getIssueNumber())
                .append("issueBonus", getIssueBonus())
                .append("deptId", getDeptId())
                .append("createBy", getCreateBy())
                .append("createById", getCreateById())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateById", getUpdateById())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("issuer", getIssuer())
                .toString();
    }
}
